Bundler\Controllers\OfferController S

Total Complexity 48
Dependencies 3
Dependents 5
Total lines 330
Lines of code 199
Logical lines of code 86
Comment lines 72
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
update_offer()
B
36 19 82
new_offer()
B
36 18 80
get_the_discounts_desc()
S
67 2 8
get_the_discounts()
S
67 2 8
__construct()
S
91 1 2
get_all_offers()
S
81 1 3
get_offer_by_id()
S
80 1 3
get_discounts_by_offer_id()
S
80 1 3
get_the_offer()
S
80 1 3
remove_offer()
S
77 1 4
update_offer_status()
S
79 1 3